import json
filename = r'file\number.json'
funlee = {
  'name':'funlee',
  'age':22
}

with open(filename,'w') as w_obj:
  json.dump(funlee,w_obj)

with open(filename) as r_obj:
  info = json.load(r_obj)
  for k,v in info.items():
    print(k,' : ',v)
